/**
 * EmployeeBO.java
 *
 * Created on March 5, 2007, 4:20 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

import java.sql.Date;

/**
 * The class is represents the employee business object. It is created
 * by the employee DAO. It extends businessObject which contains the ID,
 * alreadyInDatabase and dirty. This class contains the attributes of the employee
 * with all getters and setters and any functionality of the object.
 *
 * @author      Jeff Jenkins
 * @version     1.0
 *
 */
public class EmployeeBO extends BusinessObject{
    private String Name = null;
    private Date hireDate = null;
    private String phone = null;
    private String position = null;
    private String store = null;
    
    
    
    /** Creates a new instance of EmployeeBO */
    public EmployeeBO() {
    }
    
    /**
     * This method returns the name
     * @return name
     */
    public String getName() {
        return Name;
    }
    
    /**
     * This method sets the name
     * 
     * @param Name 
     */
    public void setName(String Name) {
        this.Name = Name;
        setDirty(true);
    }
    
    /**This method returns the hire date
     *@return date*/
    public Date getHireDate() {
        return hireDate;
    }
    
    /**
     * This method gets the hire date
     * @param hireDate 
     */
    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
        setDirty(true);
    }
    
    /**This method returns the phone number
     *@return String*/
    
    public String getPhone() {
        return phone;
    }
    
    /**
     * This method sets the phone number
     * @param phone 
     */
    
    public void setPhone(String phone) {
        this.phone = phone;
        setDirty(true);
    }
    
    /**This method returns the employee's position
     *@return String*/
    public String getPosition() {
        return position;
    }
    
    /**
     * This method sets the employee's position
     * @param position 
     */
    public void setPosition(String position) {
        this.position = position;
        setDirty(true);
    }
    /**This method gets the employee's store
     *@return StoreBO*/
    public String getStore() {
        return store;
    }
    
    /**
     * This method sets the employee's store
     * @param store 
     */    
    public void setStore(String store) {
        this.store = store;
    }
    
}
